.home {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #C1B8FF;

    .ios {
        position: absolute;
        left: 0;
        bottom: .2rem;
        text-align: center;
        font-size: .16rem;
        width: 100%;
    }
    .header {
        width: 100%;
        height: 8.01rem;
        background: url(../img/result/header2-m.png)top center no-repeat;
        background-size: 100% 100%;
        position: relative;
    }

    .center {
        padding-bottom: 1.00rem;
        // position: relative;

        .tab {
            display: flex;
            align-items: center;
            width: 100%;
            justify-content: center;
            margin: 0 auto;

            li {
                height: .76rem;
                cursor: pointer;
                user-select: none;
                flex-shrink: 0;

                &:first-child {
                    width: 2.69rem;
                    background: url(../img/result/tab1.png)top center no-repeat;
                    background-size: 100% 100%;

                    &.active {
                        background: url(../img/result/tab1_a.png)top center no-repeat;
                        background-size: 100% 100%;
                    }
                }

                &:nth-child(2) {
                    width: 2.49rem;
                    background: url(../img/result/tab2.png)top center no-repeat;
                    background-size: 100% 100%;
                    height: .75rem;
                    margin: 0 -0.2rem;

                    &.active {
                        background: url(../img/result/tab2_a.png)top center no-repeat;
                        background-size: 100% 100%;
                    }
                }

                &:nth-child(3) {
                    width: 2.67rem;
                    background: url(../img/result/tab3.png)top center no-repeat;
                    background-size: 100% 100%;

                    &.active {
                        background: url(../img/result/tab3_a.png)top center no-repeat;
                        background-size: 100% 100%;
                    }
                }
            }
        }

        .or-container {
            display: flex;
            box-sizing: border-box;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            width: 7.3rem;
            height: 19.19rem;
            background: url(../img/result/anchorBg-m.png)top center no-repeat;
            background-size: 100% 100%;
            margin: .80rem auto 0;
        }

        // .or-container:before {
        //     background-color: rgba(0, 0, 0, 0.4);
        // }

        .box {
            overflow: hidden;
            transition: .5s;
            // line-height: 0;
            width: 5.8rem;
            height: 1rem;
            background: #D5D0F9;
            border: .02rem solid #FFFF91;
            border-radius: .20rem;
            cursor: pointer;
            margin-bottom: .05rem;

            .info {
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: space-around;

                .rank {
                    width: .44rem;
                    height: .44rem;
                    background: #A89FE9;
                    border-radius: 50%;
                    font-size: .34rem;
                    line-height: .44rem;
                    text-align: center;
                    font-weight: 600;
                    color: #FFFFFF;
                }

                img {
                    width: .66rem;
                    height: .66rem;
                    background: #C1B8FF;
                    border: .02rem solid #FFFFFF;
                    border-radius: 50%;
                    transition: .5s;
                    -o-object-fit: cover;
                    object-fit: cover;
                }

                .name {
                    width: 2.20rem;
                    font-size: .28rem;
                    font-family: PingFangSC;
                    font-weight: 600;
                    color: #7868E7;
                    display: flex;
                    flex-direction: column;

                    span {
                        letter-spacing: .03rem;
                        width: 100%;
                        &:nth-child(2) {
                            color: #7e6fe8;
                            font-weight: normal;
                            font-size: .24rem;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            overflow: hidden;
                        }
                    }
                }

                .add {
                    width: .26rem;
                    height: .26rem;
                    background: url(../img/result/add.png)top center no-repeat;
                    background-size: 100% 100%;
                }
            }

            .info2 {
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                position: relative;

                img {
                    width: 5.79rem;
                    height: 6.6rem;
                    transition: .5s;
                    -o-object-fit: cover;
                    object-fit: cover;
                }

                .anchorInfo {
                    display: flex;
                    flex-direction: column;
                    width: 90%;
                    margin-top: .10rem;

                    span {
                        font-size: .32rem;
                        color: #222222;
                        width: 60%;

                        &:first-child {
                            font-size: .4rem;
                            font-weight: 600;
                            color: #7868E7;
                        }

                        &:nth-child(3) {
                            font-size: .26rem;
                        }
                    }
                }

                .rank {
                    font-size: .50rem;
                    font-weight: 600;
                    color: #7868E7;
                    text-align: right;
                }
            }
        }

        .eleactive {
            height:8.40rem;
            background: url(../img/result/boxBg-m.png)top center no-repeat;
            background-size: 100% 100%;
            border-radius: 0.23rem;

            .info {
                display: none;
                transition: .5s;
            }

            .info2{
                .rank{
                    position: absolute;
                    bottom: 0;
                    right: .1rem;
                    font-size: 1.50rem;
                }
            }
        }

        .userPart {
            width: 6rem;
            height: 8.23rem;
            padding: 1.00rem .50rem;
            background: url(../img/result/userBg.png)top center no-repeat;
            background-size: 100% 100%;
            margin: .80rem auto 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;

            li {
                display: flex;
                flex-direction: column;
                align-items: center;
                margin: 0 .1rem;

                div {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    position: relative;
                    width: .86rem;
                    height: .86rem;
                    background: url(../img/result/top4.png)top center no-repeat;
                    background-size: 100% 100%;

                    img {
                        width: .80rem;
                        height: .80rem;
                        border-radius: 50%;
                    }

                    span {
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        transform: translate(-50%, 0);
                        font-size: .16rem;
                        font-family: eryaxindahei;
                        font-weight: 600;
                        color: #FFFFFF;
                        width: .53rem;
                        height: .22rem;
                        background: url(../img/result/rank4.png)top center no-repeat;
                        background-size: 100% 100%;
                        text-align: center;
                        line-height: .22rem;
                    }
                }

                p {
                    width: 1.50rem;
                    font-size: .24rem;
                    font-family: PingFangSC;
                    font-weight: 500;
                    color: #121212;
                    text-align: center;
                    margin-top: .10rem;
                }

                &:first-child,
                &:nth-child(2),
                &:nth-child(3) {
                    div {
                        img {
                            width: .90rem;
                            height: .90rem;
                            border-radius: 50%;
                        }

                        span {
                            bottom: .25rem;
                        }
                    }
                }

                &:first-child {
                    margin: 0 3.00rem;

                    div {
                        width: 2.12rem;
                        height: 1.72rem;
                        background: url(../img/result/top1.png)top center no-repeat;
                        background-size: 100% 100%;

                        span {
                            background: url(../img/result/rank1.png)top center no-repeat;
                            background-size: 100% 100%;
                        }
                    }
                }

                &:nth-child(2),
                &:nth-child(3) {
                    margin: 0 .5rem;
                }

                &:nth-child(2) {
                    div {
                        width: 2.00rem;
                        height: 1.62rem;
                        background: url(../img/result/top2.png)top center no-repeat;
                        background-size: 100% 100%;

                        span {
                            background: url(../img/result/rank2.png)top center no-repeat;
                            background-size: 100% 100%;
                        }
                    }
                }

                &:nth-child(3) {
                    div {
                        width: 1.97rem;
                        height: 1.61rem;
                        background: url(../img/result/top3.png)top center no-repeat;
                        background-size: 100% 100%;

                        span {
                            background: url(../img/result/rank3.png)top center no-repeat;
                            background-size: 100% 100%;
                        }
                    }
                }

                &:nth-child(4),
                &:nth-child(5),
                &:nth-child(6) {
                    margin: 0 .2rem
                }
            }
        }

        .guildBox {
            height: 12.18rem;
            width: 7.26rem;
            background: url(../img/result/guildBg-m.png)top center no-repeat;
            background-size: 100% 100%;

            .box {
                width: 5.80rem;
                height: 1rem;

                &.eleactive {
                    width: 5.8rem;
                    height: 6.40rem;
                    background: url(../img/result/boxBg2.png)top center no-repeat;
                    background-size: 100% 100%;
                    border-radius:.35rem;
                }

                .info2 {
                    position: relative;

                    .rank {
                        position: absolute;
                        right: .20rem;
                        top: 0.8rem;
                        font-size: .8rem;
                    }

                    .title {
                        font-size: .4rem;
                        font-family: eryaxindahei;
                        font-weight: 600;
                        color: #7868E7;
                        width: 90%;
                        margin: .10rem 0 0 .10rem;
                    }

                    .guildInfo{
                        display: flex;
                        align-items: center;
                        margin-top: .30rem;
                        width: 95%;
                        padding-left: 5%;

                        img{
                            width: .8rem;
                            height: .8rem;
                            border: .02rem solid #FFFFFF;
                            border-radius: 50%;
                        }

                        div{
                            .name{
                                font-size: .24rem;
                                font-family: PingFangSC;
                                font-weight: 600;
                                color: #222222;
                                display: inline-block;
                            }


                        }
                    }
                    .score{
                        width: 2.4rem;
                        height: .32rem;
                        background: #E5E8FF;
                        border-radius: .16rem;
                        overflow: hidden;
                        display: flex;

                        span{
                            line-height: .320rem;
                            text-align: center;

                            &:first-child{
                                width: .9rem;
                                font-size: .2rem;
                                color: #FFFFFF;
                                background-color: #b059f7;
                            }

                            &:nth-child(2){
                                flex: 1;
                                font-size: .22rem;
                                color: #1C1C1C;
                            }
                        }
                    }
                    .cutLine{
                        width: 5.8rem;
                        height: .56rem;
                        background: url(../img/result/gongxian-m.png)top center no-repeat;
                        background-size: 100% 100%;
                        margin: .30rem auto .10rem;
                    }

                    .rankBox{
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-direction: column;
                        height: 3.42rem;
                        transition: .5s;

                        li{
                            width: 5.16rem;
                            padding: 0 .2rem;
                            height: 1.10rem;
                            background: #E5E8FF;
                            border-radius: .12rem;
                            display: flex;
                            align-items: center;
                            margin: .10rem auto 0;
                            flex-shrink: 0;

                            div{
                                width: .7rem;
                                height: .7rem;
                                background: #FFFFFF;
                                border: .02rem solid #FF8DFE;
                                border-radius: 50%;
                                position: relative;
                                margin-top: .15rem;

                                img{
                                    width: .7rem;
                                    height: .7rem;
                                    border-radius: 50%;
                                }

                                span{
                                    width: .38rem;
                                    height: .29rem;
                                    background: url(../img/result/guild1.png)top center no-repeat;
                                    background-size: 100% 100%;
                                    position: absolute;
                                    display: block;
                                    top: -.20rem;
                                    left: 50%;
                                    transform: translate(-50%,0);
                                }
                            }

                            .name_id{
                                display: flex;
                                flex-direction: column;
                                width: 1.2rem;
                                margin-left: .1rem;

                                span{
                                    font-size: .2rem;
                                    color: #222222;

                                    &:first-child{
                                        font-size: .24rem;
                                        font-family: PingFangSC;
                                        font-weight: 600;
                                    }
                                }
                            }

                            .score{
                                width: 2.4rem;
                                height: .32rem;
                                background: #D0D4F5;
                                margin-left: .5rem;
                                span{
                                    line-height: .32rem;
                                    font-size: .22rem;
                                    &:first-child{
                                        font-size: .2rem;
                                    }
                                }
                            }

                            &:nth-child(2){
                                div{
                                    span{
                                        background: url(../img/result/guild2.png)top center no-repeat;
                                        background-size: 100% 100%;
                                    }
                                }
                            }

                            &:nth-child(3){
                                div{
                                    span{
                                        background: url(../img/result/guild3.png)top center no-repeat;
                                        background-size: 100% 100%;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}